package com.zx.baofu.alcohol.mapper;

import com.zx.baofu.alcohol.model.Periods;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository(value = "periodsMapper")
public interface PeriodsMapper {
    List<Periods> getAllPeriods();
    int updatePeriods(@Param("id") Long id, @Param("startDate") String startDate, @Param("endDate") String endDate, @Param("periodsName") String periodsName);
}
